From: Carlos Garnacho Date: Fri, 15 Dec 2017 16:53:48 +0000 (+0100) Subject: keyboard: Add visible property X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~79 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e0910c0f7cd101e2b66c3c0241e097a53b852ba3;p=gnome-shell.git keyboard: Add visible property So its visibility can be queried externally. --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index cea13a31d..4067fe260 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -301,6 +301,10 @@ var Keyboard = new Lang.Class({ this._redraw(); }, + get visible() { + return this._keyboardVisible; + }, + _setCaretTrackerEnabled: function (enabled) { if (this._caretTrackingEnabled == enabled) return;